import { request } from '@/framework/requests'
import { buildGetApi } from '@/framework/apis'

export const getConfig = (configKey: string) => request(buildGetApi('/config'), { configKey }) as Promise<any>
